package com.own.business.pay.core.method;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringBootConfiguration;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Bean;

/**
 * AutoTradeHandlerConfig
 *
 * @author chenxueli
 * @date 2024-04-16 09:10:00
 */
@Slf4j
@SpringBootConfiguration
public class AutoTradeHandlerConfig {

    @Bean
    @ConditionalOnMissingBean(TradeSuccessHandlerService.class)
    public TradeExpireHandlerService tradeExpireHandlerService() {
        return (type, history) -> {
        };
    }

}
